package org.jeecg.zhensi.customer.service;

import org.jeecg.zhensi.customer.entity.ConsumablePurchaseZi;
import org.jeecg.zhensi.customer.entity.ConsumablePurchase;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 耗材采购订单
 * @Author: jeecg-boot
 * @Date:   2023-01-12
 * @Version: V1.0
 */
public interface IConsumablePurchaseService extends IService<ConsumablePurchase> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(ConsumablePurchase consumablePurchase,List<ConsumablePurchaseZi> consumablePurchaseZiList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(ConsumablePurchase consumablePurchase,List<ConsumablePurchaseZi> consumablePurchaseZiList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
